package com.teamall.web.sys.db.dao.mapper;

import com.teamall.web.sys.db.arg.AidStaffArg;
import com.teamall.web.sys.db.po.AidStaffPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IAidStaffMapper {
    
    List<Integer> countByArg(AidStaffArg arg);

    List<AidStaffPO> selectByArg(AidStaffArg arg);

    AidStaffPO selectByPrimaryKey(Integer id);

    List<AidStaffPO> selectByArgAndPage(AidStaffArg arg, RowBounds rowBound);

    int insert(AidStaffPO record);

    int insertSelective(AidStaffPO record);

    int insertBatch(@Param("list") List<AidStaffPO> records);

    int updateByArgSelective(@Param("record") AidStaffPO record,
            @Param("arg") AidStaffArg arg);

    int updateByArg(@Param("record") AidStaffPO record,
            @Param("arg") AidStaffArg arg);

    int updateByPrimaryKeySelective(AidStaffPO record);

    int updateByPrimaryKey(AidStaffPO record);
    
    int deleteByArg(AidStaffArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}